using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ZedGraph;
using ZedGraph.Web;
using System.Drawing;
using System.Collections.Generic;

public partial class Overzicht_Mentor : System.Web.UI.Page
{

    private String Gebruiker;
    private Databank db;
    SessionGebruiker sg;

    protected void Page_Load(object sender, EventArgs e)
    {
        db = Databank.DatabankInstantie;

        Getuserstuff();

        VakkenTextBox.ReadOnly = true;
        KleurenTextBox.ReadOnly = true;
    }

    private void Getuserstuff()
    {

        sg = (SessionGebruiker)Session["login"];
        if (sg != null)
        {
            Gebruiker = sg.Gebruiker;
        }
    }



    protected void ZedGraphWeb2_RenderGraph(ZedGraphWeb webObject, Graphics g, MasterPane pane)
    {
        Grafieken gr = new Grafieken(Gebruiker);
        gr.MentorOverzicht(webObject, g, pane, "Mentor Overzicht", "Vak", "Aantal uur", Gebruiker, KleurenTextBox, VakkenTextBox);
    }

   
}
